﻿/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.editorConfig = function( config )
{
	// Define changes to default configuration here. For example:
		config.language = 'vi';
	// config.uiColor = '#AADC6E';

	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
	//config.filebrowserBrowseUrl = '/course/browser/browse.php';
    //config.filebrowserUploadUrl = '/course/uploader/upload.php';
    config.filebrowserBrowseUrl = baseUrl+'/ckeditor/ckfinder/ckfinder.html';

    config.filebrowserImageBrowseUrl = baseUrl+'/ckeditor/ckfinder/ckfinder.html?type=Images';

    config.filebrowserFlashBrowseUrl = baseUrl+'/ckeditor/ckfinder/ckfinder.html?type=Flash';

    config.filebrowserUploadUrl = baseUrl+'/ckeditor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files';

    config.filebrowserImageUploadUrl = baseUrl+'/ckeditor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images';

    config.filebrowserFlashUploadUrl = baseUrl+'/ckeditor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash';

    config.toolbar_Full =
    	[
    	    { name: 'clipboard',   items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },
    	    { name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
    	    { name: 'paragraph',   items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },
    	    { name: 'colors',      items : [ 'TextColor','BGColor' ] },
    	    { name: 'insert',      items : [ 'Image','Table','HorizontalRule','SpecialChar','PageBreak' ] },
    	    //'/',
    	    { name: 'styles',      items : [ 'Styles','Format','Font','FontSize' ] },
    	    { name: 'tools',       items : [ 'Maximize', '-','About' ] }
    	];
};
